<!DOCTYPE html>
<html>
<head>
<title>第三方API方式接入API文档</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<style type="text/css">
/* GitHub stylesheet for MarkdownPad (http://markdownpad.com) */
/* Author: Nicolas Hery - http://nicolashery.com */
/* Version: b13fe65ca28d2e568c6ed5d7f06581183df8f2ff */
/* Source: https://github.com/nicolahery/markdownpad-github */

/* RESET
=============================================================================*/

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
}

/* BODY
=============================================================================*/

body {
  font-family: Helvetica, arial, freesans, clean, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
  padding: 20px;
  max-width: 960px;
  margin: 0 auto;
}

body>*:first-child {
  margin-top: 0 !important;
}

body>*:last-child {
  margin-bottom: 0 !important;
}

/* BLOCKS
=============================================================================*/

p, blockquote, ul, ol, dl, table, pre {
  margin: 15px 0;
}

/* HEADERS
=============================================================================*/

h1, h2, h3, h4, h5, h6 {
  margin: 20px 0 10px;
  padding: 0;
  font-weight: bold;
  -webkit-font-smoothing: antialiased;
}

h1 tt, h1 code, h2 tt, h2 code, h3 tt, h3 code, h4 tt, h4 code, h5 tt, h5 code, h6 tt, h6 code {
  font-size: inherit;
}

h1 {
  font-size: 28px;
  color: #000;
}

h2 {
  font-size: 24px;
  border-bottom: 1px solid #ccc;
  color: #000;
}

h3 {
  font-size: 18px;
}

h4 {
  font-size: 16px;
}

h5 {
  font-size: 14px;
}

h6 {
  color: #777;
  font-size: 14px;
}

body>h2:first-child, body>h1:first-child, body>h1:first-child+h2, body>h3:first-child, body>h4:first-child, body>h5:first-child, body>h6:first-child {
  margin-top: 0;
  padding-top: 0;
}

a:first-child h1, a:first-child h2, a:first-child h3, a:first-child h4, a:first-child h5, a:first-child h6 {
  margin-top: 0;
  padding-top: 0;
}

h1+p, h2+p, h3+p, h4+p, h5+p, h6+p {
  margin-top: 10px;
}

/* LINKS
=============================================================================*/

a {
  color: #4183C4;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* LISTS
=============================================================================*/

ul, ol {
  padding-left: 30px;
}

ul li > :first-child, 
ol li > :first-child, 
ul li ul:first-of-type, 
ol li ol:first-of-type, 
ul li ol:first-of-type, 
ol li ul:first-of-type {
  margin-top: 0px;
}

ul ul, ul ol, ol ol, ol ul {
  margin-bottom: 0;
}

dl {
  padding: 0;
}

dl dt {
  font-size: 14px;
  font-weight: bold;
  font-style: italic;
  padding: 0;
  margin: 15px 0 5px;
}

dl dt:first-child {
  padding: 0;
}

dl dt>:first-child {
  margin-top: 0px;
}

dl dt>:last-child {
  margin-bottom: 0px;
}

dl dd {
  margin: 0 0 15px;
  padding: 0 15px;
}

dl dd>:first-child {
  margin-top: 0px;
}

dl dd>:last-child {
  margin-bottom: 0px;
}

/* CODE
=============================================================================*/

pre, code, tt {
  font-size: 12px;
  font-family: Consolas, "Liberation Mono", Courier, monospace;
}

code, tt {
  margin: 0 0px;
  padding: 0px 0px;
  border: 1px solid #eaeaea;
  background-color: #f8f8f8;
  border-radius: 3px;
}

pre>code {
  margin: 0;
  padding: 0;
  white-space: pre;
  border: none;
  background: transparent;
}

pre {
  background-color: #f8f8f8;
  border: 1px solid #ccc;
  font-size: 13px;
  line-height: 19px;
  overflow: auto;
  padding: 6px 10px;
  border-radius: 3px;
}

pre code, pre tt {
  background-color: transparent;
  border: none;
}

kbd {
    -moz-border-bottom-colors: none;
    -moz-border-left-colors: none;
    -moz-border-right-colors: none;
    -moz-border-top-colors: none;
    background-color: #DDDDDD;
    background-image: linear-gradient(#F1F1F1, #DDDDDD);
    background-repeat: repeat-x;
    border-color: #DDDDDD #CCCCCC #CCCCCC #DDDDDD;
    border-image: none;
    border-radius: 2px 2px 2px 2px;
    border-style: solid;
    border-width: 1px;
    font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
    line-height: 10px;
    padding: 1px 4px;
}

/* QUOTES
=============================================================================*/

blockquote {
  border-left: 4px solid #DDD;
  padding: 0 15px;
  color: #777;
}

blockquote>:first-child {
  margin-top: 0px;
}

blockquote>:last-child {
  margin-bottom: 0px;
}

/* HORIZONTAL RULES
=============================================================================*/

hr {
  clear: both;
  margin: 15px 0;
  height: 0px;
  overflow: hidden;
  border: none;
  background: transparent;
  border-bottom: 4px solid #ddd;
  padding: 0;
}

/* TABLES
=============================================================================*/

table th {
  font-weight: bold;
}

table th, table td {
  border: 1px solid #ccc;
  padding: 6px 13px;
}

table tr {
  border-top: 1px solid #ccc;
  background-color: #fff;
}

table tr:nth-child(2n) {
  background-color: #f8f8f8;
}

/* IMAGES
=============================================================================*/

img {
  max-width: 100%
}
</style>
</head>
<body>
<h1><center> 测评家开放平台API文档</h1>
<hr />
<p><strong>公司</strong>：盖格网络技术有限公司<br />
<strong>产品</strong>：测评家<br />
<strong>版本</strong>：V1.0.2<br />
<strong>修改</strong>：Sanjy.Si<br />
<strong>日期</strong>：2017/08/29 15:05 </p>
<p><strong>统一请求前缀</strong>： <br />
<strong>http</strong>:  http://openshare.cepingjia.net:8012/api<br />
<strong>https</strong>  :https://openshare.cepingjia.net:888/api </p>
<hr />
<h3>1. 账户登录</h3>
<p><strong>接口说明</strong>：用户第三方接入入口请求API，此API返回UID，CIU，TOKEN，和由测评家提供的APPKey组成接口的系统参数。其中UID,CID为固定数据，TOKEN为动态密钥，每次请求分配一组。
建议每2~4小时请求一次；  </p>
<p><strong>接口地址</strong>： /account/checkAccount.htm<br />
<strong>请求方法</strong>： post  <br />
<strong>Auth-date</strong>：[add by Sanjy]</p>
<h5>请求格式：</h5>
<p><code>params = 
{
    &quot;uname&quot;: &quot;1866XXXXXXX&quot;,
    &quot;password&quot;: &quot;DC483E80A7A0BD9EF71D8CF973663934&quot;,
    &quot;acctype&quot;: &quot;1&quot;
}</code></p>
<blockquote>
<p>uname: <font color=#ff0000 size=2>必填</font> 测评家账号<br />
password: <font color=#ff0000 size=2>必填</font> 账号密码 X.MD5.UpperCase <br />
acctype: <font color=#ff0000 size=2>必填,且为1</font>  
</p>
</blockquote>
<h5>返回格式：</h5>
<p><code>json
{
    &quot;code&quot;: &quot;200&quot;,
    &quot;data&quot;: {
        &quot;cid&quot;: &quot;efe3XXXX-XXXX-11e7-a2d0-02004c4f4f50&quot;,
        &quot;cname&quot;: &quot;咯哦哦&quot;,
        &quot;token&quot;: &quot;MTEwMzczc3I2aA==&quot;,
        &quot;uid&quot;: &quot;4191XXXX-XXXX-11e7-a2d0-02004c4f4f50&quot;,
        &quot;uname&quot;: &quot;黄黄小&quot;
    },
    &quot;message&quot;: &quot;Success.&quot;
}</code>
<font size = 2></p>
<blockquote>
<p>code:返回码, 200为正常，其他均为异常<br />
message:对应code解释<br />
data:uid,cid,token用来和APPKey组装系统参数
</font></p>
</blockquote>
<h5>系统参数示例：</h5>
<p><code>sysParam = {
        &quot;uid&quot;: &quot;4191XXXX-XXXX-11e7-a2d0-02004c4f4f50&quot;,
        &quot;cid&quot;: &quot;efe3XXXX-XXXX-11e7-a2d0-02004c4f4f50&quot;,
        &quot;token&quot;: &quot;MTEwMzczc3I2aA==&quot;,
        &quot;appKey&quot;: &quot;001&quot;
    }</code></p>
<hr />
<h3>2. 获取可用工具列表</h3>
<p><strong>接口说明</strong>：本接口用于第三方获取并配置自己的测评工具列表；分页查询；  </p>
<p><strong>接口地址</strong>： /survery/getToolList.htm  <br />
<strong>请求方法</strong>： post  <br />
<strong>Auth-date</strong>：[add by Sanjy]</p>
<h5>请求格式：</h5>
<p><code>params = 
{
    &quot;pageNum&quot;: 1,
    &quot;numOfPage&quot;: 10,
    &quot;sysParam&quot;: {
        &quot;uid&quot;: &quot;41915c0b-xxxx-xxxx-a2d0-02004c4f4f50&quot;,
        &quot;cid&quot;: &quot;efe3b6d4-xxxx-xxxx-a2d0-02004c4f4f50&quot;,
        &quot;token&quot;: &quot;MTEwMzczc3I2aA==&quot;,
        &quot;appKey&quot;: &quot;001&quot;
    }
}</code></p>
<blockquote>
<p>pageNum: <font color=#ff0000 size=2>必填</font> 当前查询页，从1开始<br />
numOfPage: <font color=#ff0000 size=2>必填</font> 每页条数 <br />
sysParam: <font color=#ff0000 size=2>系统参数，参考1中示例</font>  
</p>
</blockquote>
<h5>返回格式：</h5>
<p><code>json
{
    &quot;code&quot;: &quot;200&quot;,
    &quot;data&quot;: {
        &quot;beginPageIndex&quot;: 1,
        &quot;currentPage&quot;: 1,
        &quot;endPageIndex&quot;: 1,
        &quot;numPerPage&quot;: 10,
        &quot;pageCount&quot;: 1,
        &quot;recordList&quot;: [
            {
            }，
			{
            }，
        ],
        &quot;totalCount&quot;: 1
    },
    &quot;message&quot;: &quot;请求成功&quot;
}</code>
<font size = 2></p>
<blockquote>
<p>code:返回码, 200为正常，其他均为异常<br />
message:对应code解释<br />
beginPageIndex：起始页<br />
currentPage: 当前页<br />
endPageIndex：结束页<br />
numPerPage：每页设置条数<br />
totalCount：总条数 <br />
recordList:数组，每一项代表一工具，参数使用请参考demo。
</font></p>
</blockquote>
<hr />
<h3>3. 获取工具详情</h3>
<p><strong>接口说明</strong>：本接口用于根据工具编号获取工具的详情；  </p>
<p><strong>接口地址</strong>： /survery/getToolDetail.htm  <br />
<strong>请求方法</strong>： post  <br />
<strong>Auth-date</strong>：[add by Sanjy]</p>
<h5>请求格式：</h5>
<p><code>params = 
{
    &quot;toolNo&quot;: &quot;A0013CM02-GE010&quot;,
    &quot;sysParam&quot;: {
        &quot;uid&quot;: &quot;41915c0b-xxxx-xxxx-a2d0-02004c4f4f50&quot;,
        &quot;cid&quot;: &quot;efe3b6d4-xxxx-xxxx-a2d0-02004c4f4f50&quot;,
        &quot;token&quot;: &quot;MTEwMzcwZ3VoZg==&quot;,
        &quot;appKey&quot;: &quot;001&quot;
    }
}</code></p>
<blockquote>
<p>toolNo: <font color=#ff0000 size=2>必填</font> 工具编号，由2中接口获取提供；<br />
sysParam: <font color=#ff0000 size=2>系统参数，参考1中示例</font>  
</p>
</blockquote>
<h5>返回格式：</h5>
<p><code>json
{
    &quot;code&quot;: &quot;200&quot;,
    &quot;data&quot;: {
    },
    &quot;message&quot;: &quot;Success.&quot;
}</code>
<font size = 2></p>
<blockquote>
<p>code:返回码, 200为正常，其他均为异常<br />
message:对应code解释  <br />
data:工具的具体详情，参数使用请参考demo。
</font></p>
</blockquote>
<hr />
<h3>4. 发起测评</h3>
<p><strong>接口说明</strong>：本接口用于发起测评任务；  </p>
<p><strong>接口地址</strong>： /task/startTask.htm  <br />
<strong>请求方法</strong>： post  <br />
<strong>Auth-date</strong>：[add by Sanjy]</p>
<h5>请求格式：</h5>
<p><code>params = 
{
    &quot;toolNo&quot;: &quot;A0013CM02-GE010&quot;,
    &quot;sysParam&quot;: {
        &quot;uid&quot;: &quot;4191XXXX-XXXX-11e7-a2d0-02004c4f4f50&quot;,
        &quot;cid&quot;: &quot;efe3XXXX-XXXX-11e7-a2d0-02004c4f4f50&quot;,
        &quot;token&quot;: &quot;MTEwMzcwZ3VoZg==&quot;,
        &quot;appKey&quot;: &quot;001&quot;
    },
	&quot;userInfor&quot;:{
		&quot;userIndefy&quot;:&quot;1866XXXXXXX&quot;,
		&quot;userName&quot;:&quot;simaguangguang&quot;,
		&quot;remark&quot;:&quot;这是测试人员&quot;},
    &quot;remark&quot;: &quot;test&quot;
}</code></p>
<blockquote>
<p>toolNo: <font color=#ff0000 size=2>必填</font> 工具编号，由2中接口获取提供；<br />
sysParam: <font color=#ff0000 size=2>系统参数，参考1中示例</font><br />
userInfor: <font color=#ff0000 size=2>必填</font>   答题人信息；</p>
<blockquote>
<p>userIndefy：<font color=#ff0000 size=2>必填</font> 答题人唯一标识，建议使用手机号码，长度8~48<br />
userName：<font color=#ff0000 size=2>必填</font> 答题人名称<br />
remark：选填，答题人备注，或分组。</p>
</blockquote>
</blockquote>
<h5>返回格式：</h5>
<p><code>json
{
    &quot;code&quot;: &quot;200&quot;,
    &quot;message&quot;: &quot;请求成功&quot;,
    &quot;data&quot;: {
        &quot;taskId&quot;: &quot;214d35df-XXXX-XXXX-9e55-408d5cc3e2a3&quot;,
        &quot;toolId&quot;: &quot;007035f1-XXXX-XXXX-9ca9-408d5cc3e2a3&quot;
    }
}</code>
<font size = 2></p>
<blockquote>
<p>code:返回码, 200为正常，其他均为异常<br />
message:对应code解释  <br />
taskId:任务发起成功后的任务ID，用于后续答题。<br />
toolId:任务发起成功后的工具ID，用于后续答题。<br />
</font></p>
</blockquote>
<hr />
<h3>5. 开始答题进入答题页面</h3>
<p><strong>接口说明</strong>：本接口用于开始答题，返回的是 JSP 页，请求 发起测评任务；  </p>
<p><strong>接口地址</strong>： /task/beginAnswer.htm  <br />
<strong>请求方法</strong>： post或get,建议使用get<br />
<strong>Auth-date</strong>：[add by Sanjy]</p>
<h5>请求格式：</h5>
<p><code>params =
{
	&quot;toolId&quot;:&quot;007035f1-XXXX-XXXX-9ca9-408d5cc3e2a3&quot;,
	&quot;taskId&quot;:&quot;214d35df-XXXX-XXXX-9e55-408d5cc3e2a3&quot;,
	&quot;sysParam&quot;:{
		&quot;uid&quot;:&quot;41915c0b-XXXX-XXXX-a2d0-02004c4f4f50&quot;,
		&quot;cid&quot;:&quot;efe3b6d4-XXXX-XXXX-a2d0-02004c4f4f50&quot;,
		&quot;token&quot;:&quot;MTEwMzcwZ3VoZg==&quot;,
		&quot;appKey&quot;:&quot;001&quot;},
	&quot;userInfor&quot;:{
		&quot;userIndefy&quot;:&quot;1866XXXXXXX&quot;,
		&quot;userName&quot;:&quot;simaguangguang&quot;,
		&quot;remark&quot;:&quot;这是测试人员&quot;}
}</code></p>
<blockquote>
<p>toolId: <font color=#ff0000 size=2>必填</font> 工具ID，由4中接口获取提供；<br />
taskId: <font color=#ff0000 size=2>必填</font> 任务ID，由4中接口获取提供；<br />
sysParam: <font color=#ff0000 size=2>系统参数，参考1中示例</font><br />
userInfor: <font color=#ff0000 size=2>必填</font>   答题人信息；</p>
<blockquote>
<p>userIndefy：<font color=#ff0000 size=2>必填</font> 答题人唯一标识，建议使用手机号码，长度8~48<br />
userName：<font color=#ff0000 size=2>必填</font> 答题人名称<br />
remark：选填，答题人备注，或分组。</p>
</blockquote>
</blockquote>
<h5>返回：</h5>
<p><font size = 2>
<strong>若校验成功，则进入答题页</strong><br />
<strong>若校验失败，进入提示页</strong>
</font></p>
<hr />
<h3>6. 获取答题题目</h3>
<p><strong>接口说明</strong>：本接口用于获取任务题目，若成功返回题目JSON；  </p>
<p><strong>接口地址</strong>： /survery/openGetToolSubjects.htm  <br />
<strong>请求方法</strong>： post<br />
<strong>Auth-date</strong>：[add by Sanjy]</p>
<h5>请求格式：</h5>
<p><code>params =
{
	&quot;toolId&quot;:&quot;007035f1-XXXX-XXXX-9ca9-408d5cc3e2a3&quot;,
	&quot;taskId&quot;:&quot;214d35df-XXXX-XXXX-9e55-408d5cc3e2a3&quot;,
	&quot;sysParam&quot;:{
		&quot;uid&quot;:&quot;41915c0b-XXXX-XXXX-a2d0-02004c4f4f50&quot;,
		&quot;cid&quot;:&quot;efe3b6d4-XXXX-XXXX-a2d0-02004c4f4f50&quot;,
		&quot;token&quot;:&quot;MTEwMzcwZ3VoZg==&quot;,
		&quot;appKey&quot;:&quot;001&quot;},
	&quot;userInfor&quot;:{
		&quot;userIndefy&quot;:&quot;1866XXXXXXX&quot;,
		&quot;userName&quot;:&quot;simaguangguang&quot;,
		&quot;remark&quot;:&quot;这是测试人员&quot;}
}</code></p>
<blockquote>
<p>toolId: <font color=#ff0000 size=2>必填</font> 工具ID，由4中接口获取提供；<br />
taskId: <font color=#ff0000 size=2>必填</font> 任务ID，由4中接口获取提供；<br />
sysParam: <font color=#ff0000 size=2>系统参数，参考1中示例</font><br />
userIndefy：<font color=#ff0000 size=2>必填</font> 答题人唯一标识，建议使用手机号码，长度8~48<br />
userName：<font color=#ff0000 size=2>必填</font> 答题人名称
remark：选填，答题人备注，或分组。</p>
</blockquote>
<h5>返回格式：</h5>
<p><code>json
{
    &quot;code&quot;: &quot;200&quot;,
    &quot;data&quot;: {
        &quot;userIndefy&quot;: &quot;tttttttttttttttttttttt&quot;,
        &quot;questionType&quot;: 0,
        &quot;subjectList&quot;: {
            &quot;code&quot;: &quot;200&quot;,
            &quot;data&quot;: [
                {
                    &quot;id&quot;: &quot;629d5653-0eb1-11e7-a2d0-02004c4f4f50&quot;,
                    &quot;optArray&quot;: [
                        {
                            &quot;optContent&quot;: &quot;自首承认错误，为的是要息事宁人，获得谅解。&quot;,
                            &quot;optNo&quot;: &quot;A0046HR01-PE010-T001-X1&quot;,
                            &quot;optRemark&quot;: &quot;&quot;,
                            &quot;optScore&quot;: &quot;0&quot;
                        }
                    ],
                    &quot;rlibContent&quot;: &quot;办公室里大家在讨论一个已发生的错误，而你也是参与人之一，当轮到你发言时，你会采取什么态度？&quot;,
                    &quot;rlibNo&quot;: &quot;A0046HR01-PE010-T001&quot;,
                    &quot;rlibOptId&quot;: &quot;629bb64d-0eb1-11e7-a2d0-02004c4f4f50&quot;,
                    &quot;rlibRemark&quot;: &quot;&quot;,
                    &quot;rlibToolId&quot;: &quot;eedabad1-0eb0-11e7-a2d0-02004c4f4f50&quot;,
                    &quot;rlibType&quot;: 1
                }
            ],
            &quot;message&quot;: &quot;Success.&quot;
        },
        &quot;taskCategory&quot;: &quot;NQ&quot;,
        &quot;taskId&quot;: &quot;93c3XXXX-XXXX-11e7-a2d0-02004c4f4f50&quot;,
        &quot;taskName&quot;: &quot;OMA指数性格测评&quot;,
        &quot;taskType&quot;: &quot;1&quot;,
        &quot;toolId&quot;: &quot;eedaXXXX-XXXX-11e7-a2d0-02004c4f4f50&quot;,
        &quot;uid&quot;: &quot;2b56XXXX-XXXX-11e6-927f-02004c4f4f50&quot;
    },
    &quot;message&quot;: &quot;请求成功&quot;
}</code></p>
<blockquote>
<p>toolId: 工具ID，后续使用；<br />
taskId: 任务ID，后续使用；<br />
phone: 答题人标识对应 <br />
questionType：1 ，带图答题； 其他为常规答题页<br />
subjectList:为题目列表，具体使用参考demo</p>
</blockquote>
<hr />
<h3>7. 提交答案</h3>
<p><strong>接口说明</strong>：本接口用于提交答案；  </p>
<p><strong>接口地址</strong>： /task/openCommitSubject.htm  <br />
<strong>请求方法</strong>： post <br />
<strong>Auth-date</strong>：[add by Sanjy]</p>
<h5>请求格式：</h5>
<p><code>params =
{
    &quot;answers&quot;: {
        &quot;toolId&quot;: &quot;eedaXXXX-XXXX-11e7-a2d0-02004c4f4f50&quot;,
        &quot;taskId&quot;: &quot;0ae6XXXX-XXXX-11e7-a2d0-02004c4f4f50&quot;,
        &quot;uid&quot;: &quot;2b56XXXX-XXXX-11e6-927f-02004c4f4f50&quot;,
        &quot;tel&quot;: &quot;tttttttttttttttttttttt&quot;,
        &quot;answerTime&quot;: 0,
        &quot;rlibsList&quot;: [
            {
                &quot;rlibId&quot;: &quot;629d5653-0eb1-11e7-a2d0-02004c4f4f50&quot;,
                &quot;optId&quot;: &quot;A0046HR01-PE010-T001-X3&quot;
            },
            {
                &quot;rlibId&quot;: &quot;6bf5782c-0eb3-11e7-a2d0-02004c4f4f50&quot;,
                &quot;optId&quot;: &quot;A0046HR01-PE010-T010-X4&quot;
            }
        ]
    },
    &quot;sysParam&quot;: {
        &quot;uid&quot;: &quot;2b56XXXX-XXXX-11e6-927f-02004c4f4f50&quot;,
        &quot;cid&quot;: &quot;e20dXXXX-XXXX-11e6-927f-02004c4f4f50&quot;,
        &quot;token&quot;: &quot;MTAwMDhwd2g1dA==&quot;,
        &quot;appKey&quot;: &quot;test_000002&quot;
    }
}</code></p>
<blockquote>
<p>answers: <font color=#ff0000 size=2>必填</font> 答案内容；</p>
<blockquote>
<p>tel: <font color=#ff0000 size=2>必填</font>答题人标识 userIndefy； 
taskId: <font color=#ff0000 size=2>必填</font> 任务ID，由6中接口获取提供；<br />
toolId: <font color=#ff0000 size=2>必填</font> 工具ID，由6中接口获取提供；<br />
answerTime:<font color=#ff0000 size=2>必填</font> 答题所用时间，分钟取整;<br />
rlibsList:<font color=#ff0000 size=2>必填</font>  所选答案列表，参考DEMO</p>
<blockquote>
<p>rlibId:题目ID<br />
optId:所选答案ID，</p>
</blockquote>
</blockquote>
<p>sysParam: <font color=#ff0000 size=2>系统参数，参考1中示例</font>  
</p>
</blockquote>
<h5>返回格式：</h5>
<p><code>json
{
    {code: &quot;200&quot;, message: &quot;Success.&quot;}
}</code></p>
<hr />
<h3>8. 查询报告是否生成</h3>
<p><strong>接口说明</strong>：本接口查询报告是否生成；  </p>
<p><strong>接口地址</strong>： /task/openQueryReport.htm  <br />
<strong>请求方法</strong>： post <br />
<strong>Auth-date</strong>：[add by Sanjy]</p>
<h5>请求格式：</h5>
<p><code>params =
{
    &quot;taskId&quot;: &quot;0ae6XXXX-XXXX-11e7-a2d0-02004c4f4f50&quot;,
    &quot;phone&quot;: &quot;tttttttttttttttttttttt&quot;,
    &quot;sysParam&quot;: {
        &quot;uid&quot;: &quot;2b56XXXX-XXXX-11e6-927f-02004c4f4f50&quot;,
        &quot;cid&quot;: &quot;e20dXXXX-XXXX-11e6-927f-02004c4f4f50&quot;,
        &quot;token&quot;: &quot;MTAwMDhwd2g1dA==&quot;,
        &quot;appKey&quot;: &quot;test_000002&quot;
    },
    &quot;userInfor&quot;: {
        &quot;userIndefy&quot;: &quot;tttttttttttttttttttttt&quot;,
        &quot;userName&quot;: &quot;simaguangguang&quot;,
        &quot;remark&quot;: &quot;这是测试人员&quot;
    }
}</code>  </p>
<blockquote>
<p>taskId: <font color=#ff0000 size=2>必填</font> 任务ID，由6中接口获取提供；<br />
phone: <font color=#ff0000 size=2>必填</font> userIndefy； <br />
userInfor: <font color=#ff0000 size=2>必填</font> 答题人信息;<br />
sysParam: <font color=#ff0000 size=2>系统参数，参考1中示例</font>;  
</p>
</blockquote>
<h5>返回格式：</h5>
<p><code>json
{
    {code: &quot;200&quot;, data:&quot;XXXXXXXXXXXXXXXXXX&quot;,message: &quot;Success.&quot;}
}</code></p>
<blockquote>
<p>data: 即为返回的reportID,用于查询报告详情;  
</p>
</blockquote>
<hr />
<h3>9. 查询报告详情</h3>
<p><strong>接口说明</strong>：本接口用于查询报告详情，返回报告详情的URL；  </p>
<p><strong>接口地址</strong>： /task/openGetReportDetail.htm  <br />
<strong>请求方法</strong>： post <br />
<strong>Auth-date</strong>：[add by Sanjy]</p>
<h5>请求格式：</h5>
<p><code>params =
{
    &quot;reportId&quot;: &quot;fd45XXXX-XXXX-11e7-a2d0-02004c4f4f50&quot;,
    &quot;sysParam&quot;: {
        &quot;uid&quot;: &quot;2b56XXXX-XXXX-11e6-927f-02004c4f4f50&quot;,
        &quot;cid&quot;: &quot;e20dXXXX-XXXX-11e6-927f-02004c4f4f50&quot;,
        &quot;token&quot;: &quot;MTAwMDhwd2g1dA==&quot;,
        &quot;appKey&quot;: &quot;test_000002&quot;
    },
    &quot;taskId&quot;: &quot;0ae63XXX-XXXX-11e7-a2d0-02004c4f4f50&quot;
}</code>  </p>
<blockquote>
<p>taskId: <font color=#ff0000 size=2>必填</font> 任务ID；<br />
reportId: <font color=#ff0000 size=2>必填</font> 报告ID，由8中接口获取； <br />
sysParam: <font color=#ff0000 size=2>系统参数，参考1中示例</font>;  
</p>
</blockquote>
<h5>返回格式：</h5>
<p><code>json
{
    code: &quot;200&quot;, 
	data: &quot;http://www.cepingjia.net/EvaluationHome/support/XX6e1c5-XXXX-11e6-927f-02004c4f4f50APP&quot;, message: &quot;请求成功&quot;
}</code></p>
<blockquote>
<p>data: 即为返回的报告URL,用于查询报告详情;  
</p>
</blockquote>
<hr />
<h3>10. 查询历史报告列表</h3>
<p><strong>接口说明</strong>：本接口用于答题者的历史报告列表；  </p>
<p><strong>接口地址</strong>： /task/openGetReportList.htm  <br />
<strong>请求方法</strong>： post <br />
<strong>Auth-date</strong>：[add by Sanjy]</p>
<h5>请求格式：</h5>
<p><code>params =
{
    &quot;sysParam&quot;: {
        &quot;uid&quot;: &quot;2b56XXXX-XXXX-11e6-927f-02004c4f4f50&quot;,
        &quot;cid&quot;: &quot;e20dXXXX-XXXX-11e6-927f-02004c4f4f50&quot;,
        &quot;token&quot;: &quot;MTAwMDhwd2g1dA==&quot;,
        &quot;appKey&quot;: &quot;test_000002&quot;
    }
    &quot;userInfor&quot;: {
        &quot;userIndefy&quot;: &quot;tttttttttttttttttttttt&quot;,
        &quot;userName&quot;: &quot;simaguangguang&quot;,
        &quot;remark&quot;: &quot;这是测试人员&quot;
    }
}</code>  </p>
<blockquote>
<p>userInfor: <font color=#ff0000 size=2>必填</font> 答题人信息;<br />
sysParam: <font color=#ff0000 size=2>系统参数，参考1中示例</font>;  
</p>
</blockquote>
<h5>返回格式：</h5>
<p><code>json
{
    &quot;code&quot;: &quot;200&quot;,
    &quot;data&quot;: [
        {
            &quot;reportType&quot;: &quot;&quot;,
            &quot;rptId&quot;: &quot;&quot;,
            &quot;rptImg&quot;: &quot;http://server.cepingjia.net/imgServer/product/201703/1490266376920.jpg&quot;,
            &quot;taskId&quot;: &quot;&quot;,
            &quot;taskNo&quot;: &quot;&quot;,
            &quot;toolLabel&quot;: 1,
            &quot;toolName&quot;: &quot;&quot;,
            &quot;userName&quot;: &quot;&quot;
        }
    ],
    &quot;message&quot;: &quot;Success.&quot;
}</code></p>
<blockquote>
<p>data: 即为报告列表;  
</p>
<blockquote>
<p>reportType:报告类型<br />
toolLabel:工具类型 1 个人，2 企业<br />
toolName：工具名称<br />
userName：测评家系统数据，sysParam中uid对应的名称 
rptId：报告ID<br />
taskId:任务ID<br />
rptImg：工具图片</p>
</blockquote>
</blockquote>
<hr />

</body>
</html>
<!-- This document was created with MarkdownPad, the Markdown editor for Windows (http://markdownpad.com) -->
